import { createApp } from "vue";
import "./style.css";
import { createPinia } from "pinia";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
// import * as echarts from "echarts"
import router from "@/router/index";
import "@/assets/style/index.less";
import ArcoVue from "@arco-design/web-vue";
import "@arco-design/web-vue/dist/arco.css";
import "@/assets/iconfont/iconfont.css";
import "@/assets/iconfont/iconfont.js";

import "./mock/index.js";
import App from "./App.vue";

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const cApp: any = createApp(App);
// for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
//     cApp.component(key, component)
//   }
cApp.use(createPinia());
cApp.use(ArcoVue);
cApp.use(router);
// cApp.use(echarts)
cApp.use(ElementPlus);
cApp.mount("#app");
// cApp.config.globalProperties.$axios=API;
